package com.tudouji.project.system.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 字典信息对象 dict
 * 
 * @author wf
 * @date 2021-01-25
 */
public class Dict
{
    private static final long serialVersionUID = 1L;

    /** 唯一编码 */
    private String guid;

    /** 字典KEY */
    @Excel(name = "字典KEY")
    private Integer dictkey;

    /** 字典值 */
    @Excel(name = "字典值")
    private String dicttext;

    /** 字典类型 */
    @Excel(name = "字典类型")
    private Long dicttype;

    /** 字典类型描述 */
    @Excel(name = "字典类型描述")
    private String dicttypeinfo;

    /** 状态-1：未启用：1:已启用 */
    @Excel(name = "状态-1：未启用：1:已启用")
    private Long isenable;

    private String remark;

    public void setGuid(String guid) 
    {
        this.guid = guid;
    }

    public String getGuid() 
    {
        return guid;
    }
    public void setDictkey(Integer dictkey)
    {
        this.dictkey = dictkey;
    }

    public Integer getDictkey()
    {
        return dictkey;
    }
    public void setDicttext(String dicttext) 
    {
        this.dicttext = dicttext;
    }

    public String getDicttext() 
    {
        return dicttext;
    }
    public void setDicttype(Long dicttype) 
    {
        this.dicttype = dicttype;
    }

    public Long getDicttype() 
    {
        return dicttype;
    }
    public void setDicttypeinfo(String dicttypeinfo) 
    {
        this.dicttypeinfo = dicttypeinfo;
    }

    public String getDicttypeinfo() 
    {
        return dicttypeinfo;
    }
    public void setIsenable(Long isenable) 
    {
        this.isenable = isenable;
    }

    public Long getIsenable() 
    {
        return isenable;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("dictkey", getDictkey())
            .append("dicttext", getDicttext())
            .append("dicttype", getDicttype())
            .append("dicttypeinfo", getDicttypeinfo())
            .append("remark", getRemark())
            .append("isenable", getIsenable())
            .toString();
    }
}
